package ui.handlers;

import java.awt.Toolkit;
import java.awt.event.WindowEvent;

import javax.swing.JFrame;

public abstract class BaseHandler {
	
	protected void close(JFrame frame)
	{
		WindowEvent wev = new WindowEvent(frame, WindowEvent.WINDOW_CLOSING);
		Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(wev);
	}
}
